package com.qfedu.knowledge.entity.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName RightsBO
 * @Author ykx
 * @Date 2024/4/26 21:32
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = false)
@Data
@TableName("sys_right_t")
public class RightsBO extends BaseColumn {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    @TableField("title")
    private String title;

    /**
     * 图标
     */
    @TableField("icon")
    private String icon;

    /**
     * 路径
     */
    @TableField("path")
    private String path;

    /**
     * 父id
     */
    @TableField("parent_id")
    private Integer parentId;

    /**
     * 是否为叶子节点
     */
    @TableField("is_leaf")
    private Boolean isLeaf;

}
